﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Ccit.Utils;
using Newtonsoft.Json;

namespace Ccit.OA.Email
{
    public partial class email_manages_tree : Ccit.Utils.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.Page.IsPostBack)
            {
                Inpage();
            }
        }


        public void Inpage()
        {
            LoginUser loginUser = Session["LogUserInfo"] as LoginUser;
            string UserId = loginUser.UserId;
            string sPaceLast = string.Empty;

            #region
            MsEmailPersonal msPerson = new MsEmailPersonal();
            msPerson.userId = UserId;
            EmailBLL bll = new EmailBLL();
            bll.EmailShowTable(UserId, tdEmailShow, "2", ref sPaceLast);
            hidspaceLast.Value = sPaceLast;
            #endregion

            msPerson = null;
            bll.Release();
            bll = null;
        }

    }
}
